The Collatz conjecture has four very simple steps:
  1. Pick a positive integer
  2. If it's even, divide it by two
  3. If it's odd, multiply it by 3 and then add 1
  4. Take the result and repeat steps 2 and 3
The conjecture is that no matter what number is chosen, the sequence will always reach 1.

Enter the number you'd like to test: (up to 1 Quadrillion)

Step Result